package com.mind.invoice.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mind.common.annotation.Excel;
import com.mind.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 文件库对象 aj_file_library
 *
 * @author xp
 * @date 2025-05-08
 */
@Schema(description = " 文件库")
public class AjFileLibrary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    @Schema(description = "名称")
    private String fileName;


    private String fileList;

    /** 附件列表 */
    @Excel(name = "附件列表")
    @Schema(description = "附件列表")
    private List<AjFileLibraryAttach> attachFileList;
    /** 正文内容 */
    @Excel(name = "正文内容")
    @Schema(description = "正文内容")
    private String fileContent;

    /** 附件数 */
    @Excel(name = "附件数")
    @Schema(description = "附件数")
    private Long fileNum;

    /** 规则数 */
    @Excel(name = "规则数")
    @Schema(description = "规则数")
    private Long ruleNum;

    /** 扩展1  */
    @Excel(name = "扩展1 ")
    @Schema(description = "扩展1 ")
    private String ext1;

    /** 扩展2  */
    @Excel(name = "扩展2 ")
    @Schema(description = "扩展2 ")
    private String ext2;

    /** 扩展3 */
    @Excel(name = "扩展3")
    @Schema(description = "扩展3")
    private String ext3;

    /** 扩展4 */
    @Excel(name = "扩展4")
    @Schema(description = "扩展4")
    private String ext4;

    /** 扩展5   */
    @Excel(name = "扩展5  ")
    @Schema(description = "扩展5  ")
    private String ext5;

    /** 扩展6 */
    @Excel(name = "扩展6")
    @Schema(description = "扩展6")
    private String ext6;

    /** 扩展7  */
    @Excel(name = "扩展7 ")
    @Schema(description = "扩展7 ")
    private String ext7;

    /** 扩展8  */
    @Excel(name = "扩展8 ")
    @Schema(description = "扩展8 ")
    private String ext8;

    /** 扩展9  */
    @Excel(name = "扩展9 ")
    @Schema(description = "扩展9 ")
    private String ext9;

    /** 扩展10  */
    @Excel(name = "扩展10 ")
    @Schema(description = "扩展10 ")
    private String ext10;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    @Schema(description = "修改时间yyyy-MM-dd")
    private Date updateDate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @Schema(description = "创建时间yyyy-MM-dd")
    private Date createDate;

    /** 备注信息 */
    @Excel(name = "备注信息")
    @Schema(description = "备注信息")
    private String remarks;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFileName(String fileName)
    {
        this.fileName = fileName;
    }

    public String getFileName()
    {
        return fileName;
    }
    public void setFileList(String fileList)
    {
        this.fileList = fileList;
    }

    public String getFileList()
    {
        return fileList;
    }
    public void setFileContent(String fileContent)
    {
        this.fileContent = fileContent;
    }

    public String getFileContent()
    {
        return fileContent;
    }
    public void setFileNum(Long fileNum)
    {
        this.fileNum = fileNum;
    }

    public Long getFileNum()
    {
        return fileNum;
    }
    public void setRuleNum(Long ruleNum)
    {
        this.ruleNum = ruleNum;
    }

    public Long getRuleNum()
    {
        return ruleNum;
    }
    public void setExt1(String ext1)
    {
        this.ext1 = ext1;
    }

    public String getExt1()
    {
        return ext1;
    }
    public void setExt2(String ext2)
    {
        this.ext2 = ext2;
    }

    public String getExt2()
    {
        return ext2;
    }
    public void setExt3(String ext3)
    {
        this.ext3 = ext3;
    }

    public String getExt3()
    {
        return ext3;
    }
    public void setExt4(String ext4)
    {
        this.ext4 = ext4;
    }

    public String getExt4()
    {
        return ext4;
    }
    public void setExt5(String ext5)
    {
        this.ext5 = ext5;
    }

    public String getExt5()
    {
        return ext5;
    }
    public void setExt6(String ext6)
    {
        this.ext6 = ext6;
    }

    public String getExt6()
    {
        return ext6;
    }
    public void setExt7(String ext7)
    {
        this.ext7 = ext7;
    }

    public String getExt7()
    {
        return ext7;
    }
    public void setExt8(String ext8)
    {
        this.ext8 = ext8;
    }

    public String getExt8()
    {
        return ext8;
    }
    public void setExt9(String ext9)
    {
        this.ext9 = ext9;
    }

    public String getExt9()
    {
        return ext9;
    }
    public void setExt10(String ext10)
    {
        this.ext10 = ext10;
    }

    public String getExt10()
    {
        return ext10;
    }
    public void setUpdateDate(Date updateDate)
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate()
    {
        return updateDate;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }

    public List<AjFileLibraryAttach> getAttachFileList() {
        return attachFileList;
    }

    public void setAttachFileList(List<AjFileLibraryAttach> attachFileList) {
        this.attachFileList = attachFileList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fileName", getFileName())
            .append("fileList", getFileList())
            .append("fileContent", getFileContent())
            .append("fileNum", getFileNum())
            .append("ruleNum", getRuleNum())
            .append("ext1", getExt1())
            .append("ext2", getExt2())
            .append("ext3", getExt3())
            .append("ext4", getExt4())
            .append("ext5", getExt5())
            .append("ext6", getExt6())
            .append("ext7", getExt7())
            .append("ext8", getExt8())
            .append("ext9", getExt9())
            .append("ext10", getExt10())
            .append("createBy", getCreateBy())
            .append("updateDate", getUpdateDate())
            .append("createDate", getCreateDate())
            .append("remarks", getRemarks())
            .toString();
    }
}
